package com.ayf.payment.game.api.mapper.platform;

import com.ayf.payment.game.api.dto.platform.AdminRoleMenuDTO;
import com.ayf.payment.game.api.entity.platform.AdminPermission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface AdminPermissionMapper extends Mapper<AdminPermission> {

    public List<AdminRoleMenuDTO> selectRoleMenuTree(@Param("roleId") Integer roleId);

    public List<AdminRoleMenuDTO> selectMenuTree();
}